package com.web.pay_service.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 
 * @TableName orders
 */
@TableName(value ="orders")
@Data
public class Order implements Serializable {
    /**
     * 
     */
    @TableId
    private Long orderId;

    /**
     * 
     */
    private LocalDateTime createTime;

    /**
     * 0未完成 1已完成 2被撤销
     */
    private Integer state;

    /**
     * 
     */
    private LocalDateTime finishTime;

    /**
     * 
     */
    private Double price;

    /**
     * 买家
     */
    private Integer uid1;

    /**
     * 商家
     */
    private Integer uid2;

    /**
     * 
     */
    private String description;

    /**
     * 
     */
    private Long itemid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}